<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form  action="${empty param.id?'AddGoodsServlet':'UpdategGoodsServlet'}"  method="get">
	 商品名称：
	<input type="text" value="${param.gName }" name="gname">
	<br> 商品价格：
	<input type="text" value="${param.gPrice }" name="gprice">
	<br> 商品库存：
	<input type="text" value="${param.gAccount }" name="gaccount">
	<br> 购买数量：
	<input type="text" value="${param.gAccount }" name="gaccount">
	<br>订单总价
	<input type="text" value="${param.gAccount }" name="gaccount">
	<input type="hidden" name="id" value="${param.id}">
	<input type="button" value="${empty param.id?'添加':'修改'}" >
	</form>
</body>
</html>